import { LANG_VALUE } from "../constants/language";

export class LangStorage {
  static LANGUAGE_KEY = "__LANGUAGE__";

  static setLanguage(lang: LANG_VALUE) {
    localStorage.setItem(LangStorage.LANGUAGE_KEY, lang);
  }

  static getLanguage() {
    return localStorage.getItem(LangStorage.LANGUAGE_KEY);
  }
}
